package com.syh.app.basic.bean;

/**
 * 创建者：SYH
 * 时间：2020/4/25 16:23
 * 编辑者：SYH、
 * 标签：
 * 补充说明：
 */
public class LiveDataEvent {
    public int what;
    public boolean isPositive;
    public String msg1;
    public Object data;

    public LiveDataEvent(int what) {
        this.what = what;
    }

    public LiveDataEvent(int what, boolean isPositive) {
        this.what = what;
        this.isPositive = isPositive;
    }

    public LiveDataEvent(int what, String msg1) {
        this.what = what;
        this.msg1 = msg1;
    }

    public LiveDataEvent(int what, Object data) {
        this.what = what;
        this.data = data;
    }

    public LiveDataEvent(int what, String msg1, Object data) {
        this.what = what;
        this.msg1 = msg1;
        this.data = data;
    }
}
